import { HashRouter, Redirect, Route, Switch } from 'react-router-dom'

import Layout from './pages/layout/layout';

function App() {
  return (
    <HashRouter>
      <Switch>
        <Route path="/layout" component={ Layout } />
        <Redirect to="/layout" exact from="/" />
      </Switch>
    </HashRouter>
  );
}

export default App;
